<template>
    <div>
		<div class="graybg"></div>
		
		<div class="header header_bg">

			<div class="header_left">
					<i onclick="javascript:history.back(-1)" class="iconfont baiColor">&#xe612;</i>
				
			</div>
			<div class="header_center">
				<span class="baiColor">关于我们</span>
			</div>
		</div>
		
		<div class="center">
			<img src="../assets/logo01.png"/>
			<div class="content">
				<section @click="urls">
					<p class="pull-left">
						<span>检查更新</span>
					</p>
					<p class="pull-right" >
						<span class="info1">{{info}}</span>
					</p>
				</section>
				<section @click="next">
					<p class="pull-left">
						<span>协议及声明</span>
					</p>
					<p class="pull-right">
						<i class="iconfont">&#xe615;</i>
					</p>
				</section>
			</div>
		</div>
    </div>
</template>
<script>
    export default{
        data(){
            return {
            	imgURL:this.imgURL,
				info:'3.0.2',
				logo:{
					url: 'javascript:',
					img: '/static/guanyu.png',
				},
				status:''
            }
        },
        mounted:function(){
        	var params = new URLSearchParams();
		    	var info = window.localStorage.data;
				params.append('token', info);	//客户秘钥（信息）
				//关于我们
				this.$axios({
					url: "One/My/aboutUs",
					method:"POST",
					data: params
				}).then((res) => {
					if(res.data.status == 1){
						this.status = res.data.status
					}
				}).catch(function(err) {
					console.log(err)
				})
       },
       methods:{
       	
       	urls(){
       		window.location.href = "http://www.zuqiuxi.top/Public/Apk/apkdown.php";
       	},
       	
   		next:function(){
   			if(this.status == 1){
   				this.$router.push({name: 'xieyi'});
   			}else{
   				alert('请等待')
   			}
   			
   		}
       }
    }

</script>

<style scoped="scoped">
	@import "../css/public.css";
	.center{
		width: 95%;
		margin: 0 auto;
		text-align: center;
	}
	.center img{
		margin: 90px auto 48px;
		width:128px;
		height: 128px;
		background: linear-gradient(bottom, rgb(243, 150, 31),rgb(254, 187, 21));
		border-radius: 50%;
	}
	.content{
		height: 40px;
		line-height: 40px;
	}
	.content section{
		padding: 0 10px;
		background: #fff;
		height: 40px;
		color: #666;
		font-size: 15px;
		border-bottom: solid 1px #f0f0f0;
	}
	.content section .pull-right{
		color: #999;
	}
</style>
